package com.whl.sm.service.approval;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whl.sm.common.result.Result;
import com.whl.sm.model.approval.VApproval;
import com.whl.sm.vo.ApprovalRoleVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuhaolun
 * @since 2022-01-12
 */
public interface VApprovalService extends IService<VApproval> {

    Result update(VApproval vApproval);

    VApproval getByUserId(String dataType);

    VApproval getByUserOfRole(String dataTpe);

    Result auditStatus(ApprovalRoleVo approvalRoleVo);
}
